package com.yneusoft.manage.model.param;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * create by fzg
 * 2021/10/24 9:56
 */

@Data
public class CheckPhoneParam {

    /**
     * 手机号
     */

    @NotNull
    private Integer aid;

    @NotNull(message = "手机号校验：手机号不能为空")
    @Pattern(regexp = "^\\d{11}$",message = "手机号格式有误")
    private String phone;

}
